package com.blog.domain;

import java.io.Serializable;

import org.springframework.stereotype.Repository;

/**
 * Resource
 * 
 * @author zhaoyu
 */
@SuppressWarnings("serial")
@Repository
public class Menu implements Serializable {

	private Long id;
	private String resourceName;
	private Long parentId;
	private Integer sequenceNo;
	private Integer resourceLevel;
	private String resourceType;
	private String resourceUrl;
	private boolean showOnMenu;
	private boolean isEdit;//姝ゅ瓧娈靛睘浜巖ole_res_mapping锛岀敤浜庤〃绀鸿椤甸潰鏄惁鍙紪杈�
	private String descn;

	public Long getId() {
		return id;
	}

	public void setId(final Long id) {
		this.id = id;
	}

	public String getResourceName() {
		return resourceName;
	}

	public void setResourceName(final String resourceName) {
		this.resourceName = resourceName;
	}

	public Long getParentId() {
		return parentId;
	}

	public void setParentId(final Long parentId) {
		this.parentId = parentId;
	}

	public Integer getSequenceNo() {
		return sequenceNo;
	}

	public void setSequenceNo(final Integer sequenceNo) {
		this.sequenceNo = sequenceNo;
	}

	public String getResourceType() {
		return resourceType;
	}

	public void setResourceType(final String resourceType) {
		this.resourceType = resourceType;
	}

	public String getResourceUrl() {
		return resourceUrl;
	}

	public void setResourceUrl(final String resourceUrl) {
		this.resourceUrl = resourceUrl;
	}

	public boolean getShowOnMenu() {
		return showOnMenu;
	}

	public void setShowOnMenu(final boolean showOnMenu) {
		this.showOnMenu = showOnMenu;
	}

	public String getDescn() {
		return descn;
	}

	public void setDescn(final String descn) {
		this.descn = descn;
	}

	public Integer getResourceLevel() {
		return resourceLevel;
	}

	public void setResourceLevel(Integer resourceLevel) {
		this.resourceLevel = resourceLevel;
	}

	public boolean getIsEdit() {
		return isEdit;
	}

	public void setIsEdit(boolean isEdit) {
		this.isEdit = isEdit;
	}

}